#include "Player.h"
#include "Piece.h"
#include "CardSet.h"

using namespace Players;
Player::Player(std::string name, BoardItems::PlayerPiece* piece, Cards::CardSet cards):
name(name), piece(piece), cards(cards), is_inactive(false)
{
}

std::string Player::getName()
{
	return name;
}

Cards::CardSet& Player::getCards()
{
	return cards;
}

void Player::setInactive()
{
	is_inactive = true;
}

bool Player::isActive()
{
	return !is_inactive;
}
